package com.siwei.mes.entity.erp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 磅单记录(Wblist)实体类
 *
 * @author linzi
 * @since 2025-03-19 22:02:19
 */
@Data
@Accessors(chain = true)
@Table(name = "wblist")
@ApiModel(value = "Wblist", description = "磅单记录")
public class Wblist implements Serializable {
    private static final long serialVersionUID = 993859460945415696L;
    @Column(name = "WLID")
    @ApiModelProperty(value = "${column.comment}", name = "wlid")
    private Integer wlid;
    /**
     * 编号
     */
    @Column(name = "code")
    @ApiModelProperty(value = "编号", name = "code")
    private String code;
    /**
     * 仓位
     */
    @Column(name = "warehouse")
    @ApiModelProperty(value = "仓位", name = "warehouse")
    private String warehouse;
    /**
     * 物流单位名称
     */
    @Column(name = "logisticsName")
    @ApiModelProperty(value = "物流单位名称", name = "logisticsname")
    private String logisticsname;
    /**
     * 车牌号
     */
    @Column(name = "carLicenseNum")
    @ApiModelProperty(value = "车牌号", name = "carlicensenum")
    private String carlicensenum;
    /**
     * 驾驶员名称
     */
    @Column(name = "driverName")
    @ApiModelProperty(value = "驾驶员名称", name = "drivername")
    private String drivername;
    /**
     * 驾驶员电话
     */
    @Column(name = "driverTel")
    @ApiModelProperty(value = "驾驶员电话", name = "drivertel")
    private String drivertel;
    @Column(name = "YCID")
    @ApiModelProperty(value = "${column.comment}", name = "ycid")
    private Integer ycid;
    /**
     * 供货单位
     */
    @Column(name = "yclCompanyName")
    @ApiModelProperty(value = "供货单位", name = "yclcompanyname")
    private String yclcompanyname;
    /**
     * 原材料名称
     */
    @Column(name = "yclName")
    @ApiModelProperty(value = "原材料名称", name = "yclname")
    private String yclname;
    /**
     * 品种规格
     */
    @Column(name = "pzgg")
    @ApiModelProperty(value = "品种规格", name = "pzgg")
    private String pzgg;
    @Column(name = "CYRID")
    @ApiModelProperty(value = "${column.comment}", name = "cyrid")
    private Integer cyrid;
    /**
     * 标签
     */
    @Column(name = "tag")
    @ApiModelProperty(value = "标签", name = "tag")
    private String tag;
    /**
     * 备注
     */
    @Column(name = "remark")
    @ApiModelProperty(value = "备注", name = "remark")
    private String remark;
    @Column(name = "totalWeight")
    @ApiModelProperty(value = "${column.comment}", name = "totalweight")
    private Float totalweight;
    @Column(name = "totalWeightTime")
    @ApiModelProperty(value = "${column.comment}", name = "totalweighttime")
    private Date totalweighttime;
    /**
     * 皮重
     */
    @Column(name = "tare")
    @ApiModelProperty(value = "皮重", name = "tare")
    private Float tare;
    @Column(name = "tareTime")
    @ApiModelProperty(value = "${column.comment}", name = "taretime")
    private Date taretime;
    /**
     * 净重
     */
    @Column(name = "netWeight")
    @ApiModelProperty(value = "净重", name = "netweight")
    private Float netweight;
    /**
     * 净重称重时间
     */
    @Column(name = "netWeightTime")
    @ApiModelProperty(value = "净重称重时间", name = "netweighttime")
    private Date netweighttime;
    /**
     * 扣重
     */
    @Column(name = "deductionWeight")
    @ApiModelProperty(value = "扣重", name = "deductionweight")
    private Float deductionweight;
    @Column(name = "deductionWeightTime")
    @ApiModelProperty(value = "${column.comment}", name = "deductionweighttime")
    private Date deductionweighttime;
    /**
     * 扣量%
     */
    @Column(name = "deductionRate")
    @ApiModelProperty(value = "扣量%", name = "deductionrate")
    private Float deductionrate;
    /**
     * 确认重量
     */
    @Column(name = "qrWeight")
    @ApiModelProperty(value = "确认重量", name = "qrweight")
    private Float qrweight;
    /**
     * 退料
     */
    @Column(name = "returnQuantity")
    @ApiModelProperty(value = "退料", name = "returnquantity")
    private Float returnquantity;
    @Column(name = "printcount")
    @ApiModelProperty(value = "${column.comment}", name = "printcount")
    private Integer printcount;
    /**
     * 1 - 收料单 2 -
     */
    @Column(name = "type")
    @ApiModelProperty(value = "1 - 收料单 2 - ", name = "type")
    private Integer type;
    /**
     * 1 - 总重 2-皮重 3-完成 4 什么重量都没设置 0-作废
     */
    @Column(name = "state")
    @ApiModelProperty(value = "1 - 总重 2-皮重 3-完成 4 什么重量都没设置 0-作废", name = "state")
    private Integer state;
    /**
     * 入库日志ID
     */
    @Column(name = "KCLID")
    @ApiModelProperty(value = "入库日志ID", name = "kclid")
    private Integer kclid;
    /**
     * 0-人工地磅，1-录入完成，2-称毛完成，3-卸料中，4等待称皮，100-完成
     */
    @Column(name = "driverState")
    @ApiModelProperty(value = "0-人工地磅，1-录入完成，2-称毛完成，3-卸料中，4等待称皮，100-完成", name = "driverstate")
    private Integer driverstate;
    /**
     * 入库时间
     */
    @Column(name = "storageTime")
    @ApiModelProperty(value = "入库时间", name = "storagetime")
    private Date storagetime;
    @Column(name = "extrainfo")
    @ApiModelProperty(value = "${column.comment}", name = "extrainfo")
    private String extrainfo;
    @Column(name = "createTime")
    @ApiModelProperty(value = "${column.comment}", name = "createtime")
    private Date createtime;
    @Column(name = "updateTime")
    @ApiModelProperty(value = "${column.comment}", name = "updatetime")
    private Date updatetime;
    /**
     * 地磅id
     */
    @Column(name = "WBID")
    @ApiModelProperty(value = "地磅id", name = "wbid")
    private Integer wbid;
    @Column(name = "urid")
    @ApiModelProperty(value = "${column.comment}", name = "urid")
    private Integer urid;
    /**
     * 采购计划ID
     */
    @Column(name = "WPID")
    @ApiModelProperty(value = "采购计划ID", name = "wpid")
    private Integer wpid;
    /**
     * 暗扣量
     */
    @Column(name = "deductionHidden")
    @ApiModelProperty(value = "暗扣量", name = "deductionhidden")
    private Float deductionhidden;
    /**
     * 检验人
     */
    @Column(name = "proofer")
    @ApiModelProperty(value = "检验人", name = "proofer")
    private String proofer;
    /**
     * 同步到财务系统 0未同步 1已经同步
     */
    @Column(name = "isSync")
    @ApiModelProperty(value = "同步到财务系统 0未同步 1已经同步", name = "issync")
    private Integer issync;
    /**
     * 打印次数
     */
    @Column(name = "printNum")
    @ApiModelProperty(value = "打印次数", name = "printnum")
    private Integer printnum;
    /**
     * 检验结果
     */
    @Column(name = "verifyResult")
    @ApiModelProperty(value = "检验结果", name = "verifyresult")
    private String verifyresult;
    /**
     * 合计扣除(T)
     */
    @Column(name = "totalDeductionWeight")
    @ApiModelProperty(value = "合计扣除(T)", name = "totaldeductionweight")
    private Float totaldeductionweight;
    /**
     * 合计扣除(%)
     */
    @Column(name = "totalDeductionRate")
    @ApiModelProperty(value = "合计扣除(%)", name = "totaldeductionrate")
    private Float totaldeductionrate;
    /**
     * 核对状态
     */
    @Column(name = "isCheck")
    @ApiModelProperty(value = "核对状态", name = "ischeck")
    private Integer ischeck;
    /**
     * 核对人
     */
    @Column(name = "checkBy")
    @ApiModelProperty(value = "核对人", name = "checkby")
    private String checkby;
    /**
     * 核对时间
     */
    @Column(name = "checkTime")
    @ApiModelProperty(value = "核对时间", name = "checktime")
    private Date checktime;
    /**
     * 核对状态同步重心
     */
    @Column(name = "checkSyncZX")
    @ApiModelProperty(value = "核对状态同步重心", name = "checksynczx")
    private Integer checksynczx;
    /**
     * 虚拟仓库
     */
    @Column(name = "zxWarehouse")
    @ApiModelProperty(value = "虚拟仓库", name = "zxwarehouse")
    private String zxwarehouse;
    /**
     * 当前车次
     */
    @Column(name = "carNum")
    @ApiModelProperty(value = "当前车次", name = "carnum")
    private Integer carnum;
    /**
     * 订单编号
     */
    @Column(name = "orderNo")
    @ApiModelProperty(value = "订单编号", name = "orderno")
    private String orderno;
    /**
     * 装卸类型 S装货，R卸货
     */
    @Column(name = "SRType")
    @ApiModelProperty(value = "装卸类型 S装货，R卸货 ", name = "srtype")
    private String srtype;
    /**
     * 装卸ID
     */
    @Column(name = "LadenID")
    @ApiModelProperty(value = "装卸ID", name = "ladenid")
    private String ladenid;
    /**
     * 装卸次序 该运单下的第几次装卸（装货、卸货分开）
     */
    @Column(name = "LadenNum")
    @ApiModelProperty(value = "装卸次序 该运单下的第几次装卸（装货、卸货分开）", name = "ladennum")
    private Integer ladennum;
    /**
     * 运单ID
     */
    @Column(name = "TransID")
    @ApiModelProperty(value = "运单ID", name = "transid")
    private String transid;
    /**
     * 订单ID
     */
    @Column(name = "OrderID")
    @ApiModelProperty(value = "订单ID", name = "orderid")
    private String orderid;
    /**
     * 数据来源 1 超级调度 2 重心
     */
    @Column(name = "dataSource")
    @ApiModelProperty(value = "数据来源 1 超级调度 2 重心", name = "datasource")
    private Integer datasource;
    /**
     * 调整后净重
     */
    @Column(name = "newNet")
    @ApiModelProperty(value = "调整后净重", name = "newnet")
    private Float newnet;
    /**
     * 状态 未装货，装货中，已装货，未卸货，卸货中，已卸货，已作废，已确认
     */
    @Column(name = "orgState")
    @ApiModelProperty(value = "状态 未装货，装货中，已装货，未卸货，卸货中，已卸货，已作废，已确认", name = "orgstate")
    private String orgstate;
    /**
     * 操作人
     */
    @Column(name = "operator")
    @ApiModelProperty(value = "操作人", name = "operator")
    private String operator;
    /**
     * 厂家
     */
    @Column(name = "factoryName")
    @ApiModelProperty(value = "厂家", name = "factoryname")
    private String factoryname;
    /**
     * 类别
     */
    @Column(name = "lb")
    @ApiModelProperty(value = "类别", name = "lb")
    private String lb;
    /**
     * 快检单ID
     */
    @Column(name = "quickTestID")
    @ApiModelProperty(value = "快检单ID", name = "quicktestid")
    private Integer quicktestid;
    /**
     * 快检单号
     */
    @Column(name = "quickTestNo")
    @ApiModelProperty(value = "快检单号", name = "quicktestno")
    private String quicktestno;
    /**
     * 未检测 合格 不合格
     */
    @Column(name = "quickTestResult")
    @ApiModelProperty(value = "未检测 合格 不合格", name = "quicktestresult")
    private String quicktestresult;
    /**
     * 快检处理意见
     */
    @Column(name = "quickTestRemark")
    @ApiModelProperty(value = "快检处理意见", name = "quicktestremark")
    private String quicktestremark;
    /**
     * 快检单ID
     */
    @Column(name = "batchTestID")
    @ApiModelProperty(value = "快检单ID", name = "batchtestid")
    private Integer batchtestid;
    /**
     * 批检单号
     */
    @Column(name = "batchTestNo")
    @ApiModelProperty(value = "批检单号", name = "batchtestno")
    private String batchtestno;
    /**
     * 未检测 合格 不合格
     */
    @Column(name = "batchTestResult")
    @ApiModelProperty(value = "未检测 合格 不合格", name = "batchtestresult")
    private String batchtestresult;
    /**
     * 批检处理意见
     */
    @Column(name = "batchTestRemark")
    @ApiModelProperty(value = "批检处理意见", name = "batchtestremark")
    private String batchtestremark;
    /**
     * 退料时间
     */
    @Column(name = "timeReturn")
    @ApiModelProperty(value = "退料时间", name = "timereturn")
    private Date timereturn;
}
